// import Vue from 'vue'

function scrollHeight() {
    //滚动高度
    const scrollTopHeight =
        document.documentElement.scrollTop || document.body.scrollTop;
    //屏幕可用工作区高度
    const clientHeight =
        document.documentElement.clientHeight || window.screen.availHeight;
    //网页可见区域高(包括边线的宽)
    const offsetHeight =
        document.documentElement.offsetHeight || document.body.offsetHeight;
    //  return scrollTopHeight, clientHeight, offsetHeight
    return scrollHeight 
    // console.log(scrollTopHeight, clientHeight, offsetHeight);
}
export { scrollHeight }